﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Yu.Cms.Config
{
    /// <summary>
    /// 基本设置描述类, 加[Serializable]标记为可序列化
    /// </summary>
    [Serializable]
    public class SiteConfigInfo : IConfigInfo
    {
        #region 私有字段
        private string m_sitename = "YuCMS官方网站";		// 数据库连接串-格式(中文为用户修改的内容)：Data Source=数据库服务器地址;User ID=您的数据库用户名;Password=您的数据库用户密码;Initial Catalog=数据库名称;Pooling=true
        private string m_siteurl = "http://www.cnkker.com";			// 站点内的路径
        private string m_siteemail = "admin@copymm.com";     //站点email
        private string m_sitekeyword = "YuCMS,个人BLOG,CMS建站,自助建站";
        private string m_siteinfo = "YuCMS管理系统";
        private string m_siteicp = "ICP备案10000";
        private string m_sitecopyright = "CopyRight";
      
        #endregion

        #region 属性
        
        /// <summary>
        /// 网站名称
        /// </summary>
        public string SiteName
        {
            get { return m_sitename; }
            set { m_sitename = value; }
        }

        /// <summary>
        /// 网站URL
        /// </summary>
        public string SiteUrl
        {
            get { return m_siteurl; }
            set { m_siteurl = value; }
        }

        /// <summary>
        /// 网站邮箱
        /// </summary>
        public string SiteEmail
        {
            get { return m_siteemail; }
            set { m_siteemail = value; }
        }
        /// <summary>
        /// 网站关键字
        /// </summary>
        public string SiteKeyWord
        {
            get { return m_sitekeyword; }
            set { m_sitekeyword = value; }
        }

        /// <summary>
        /// 网站描述
        /// </summary>
        public string SiteInfo
        {
            get { return m_siteinfo; }
            set { m_siteinfo = value; }
        }

        /// <summary>
        /// ICP证书
        /// </summary>
        public string SiteICP
        {
            get { return m_siteicp; }
            set { m_siteicp = value; }
        }

        /// <summary>
        /// 网站版权
        /// </summary>
        public string SiteCopyright
        {
            get { return m_sitecopyright; }
            set { m_sitecopyright = value; }
        }
        #endregion
    }
}
